﻿@{
    var txt = "";
    if (DateTime.Now.Hour > 12)
    { txt = "Good Evening"; }
    else
    { txt = "Good Morning"; }
}
<html>
<body>
    <p>The message is @Model.Name</p>
</body>
</html>